DoneViewRsrc reduces the size of the specified handle to the proper length, according to the value of the lastPtr parameter.
The viewRsrc parameter is a handle to a 'view' resource that is being created from a template; it is the handle to be resized. The lastPtr parameter is the address of the next template entry.
MacApp does not call this routine; it is provided for your convenience. You can call it to optimize the size of 'view' resources.